const defaultState = []
export default function reducer (state = defaultState, action) {
    const { type, data } = action;
    switch (type) {
        case 'queryUserList':
            return data
        default:
            return state;
    }
}